structure and function of bacterial cell